<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SlideShow Gallery {$gallery->name}</title>
<script type="text/javascript" src="{$smarty.const.THEME_RELATIVE}js/swfobject.js"></script>
{literal}<style type="text/css">	
	/* hide from ie on mac \*/
	html {
		height: 100%;
		overflow: hidden;
	}
	
	#flashcontent {
		height: 100%;
	}
	/* end hide */

	body {
		height: 100%;
		margin: 0;
		padding: 0;
		background-color: #000000;
		color:#ffffff;
		font-family:sans-serif;
		font-size:40;
	}

	a {	
		color:#cccccc;
	}
</style>{/literal}
</head>
<body>
	<div id="flashcontent">SlideShow requires JavaScript and the latest Flash player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a></div>
	<script type="text/javascript">
	
		var fo = new SWFObject("{$smarty.const.URL_BASE}{$smarty.const.THEME_RELATIVE}modules/imagegallerymodule/TiltViewer.swf", "shell", "100%", "100%", "8.0", "#000000");			
		fo.addVariable("useFlickr", "false");
		fo.addVariable("xmlURL", "{$smarty.const.URL_BASE}/tmp/playlist/{$gallery->id}.xml");
		fo.addVariable("maxJPGSize","900");
		
		//GENERAL OPTIONS		
		fo.addVariable("useReloadButton", "true");
		fo.addVariable("showFlipButton", "true");
		fo.addVariable("showLinkButton", "false");		
		//fo.addVariable("linkLabel", "View image info");
		fo.addVariable("frameColor", "0xFFFFFF");
		fo.addVariable("backColor", "0x999999");
		fo.addVariable("bkgndInnerColor", "0x666666");
		fo.addVariable("bkgndOuterColor", "0x000000");				
		fo.addVariable("langGoFull", "Go Fullscreen");
		fo.addVariable("langExitFull", "Exit Fullscreen");
		//fo.addVariable("langAbout", "About");				
		
		// END TILTVIEWER CONFIGURATION OPTIONS
		
		fo.addParam("allowFullScreen","true");
		fo.write("flashcontent");			
	</script>	
</body>
</html>